//Propósito del test:	-corroborar la correctiud en la herencia de variables

class A
{
	varinst int int_a;
	A()
	{
		int_a = 1;
	}
	static void main()
	{
		varlocal B inst_b;
		inst_b = new B();
		(System.printSln("inst_b = new B(): inicializa int_a en 2:"));
		(System.printS("inst_b.int_a = "));
		(System.printIln(inst_b.int_a));
		inst_b = new C();
		(System.printSln("inst_b = new C(): inicializa int_a en 3:"));
		(System.printS("inst_b.int_a = "));
		(System.printIln(inst_b.int_a));
	}
}

class B extends A
{
	varinst int int_b;
	B()
	{
		int_a = 2;
		int_b = 4;
	}
}

class C extends B
{
	varinst int int_c;
	C()
	{
		int_a = 3;
		int_b = 6;
		int_c = 9;
	}
}